View Javadoc
1 /************************************************************ 2 * Copyright * 3 * Portions of this software are Copyright (c) 1993 - 2002, * 4 * Chad Z. Hower (Kudzu) and the Indy Pit Crew * 5 * - http://www.nevrona.com/Indy/ * 6 ************************************************************/ 7 package org.indy; 8 9 /*** 10 * DOCUMENT ME! 11 * 12 * @version $Revision$ 13 * @author $author$ 14 */ 15 public class TCPServerBinding { 16 private String host; 17 private int port; 18 19 /*** 20 * Creates a new TCPServerBinding object. 21 * 22 * @param host DOCUMENT ME! 23 * @param port DOCUMENT ME! 24 */ 25 public TCPServerBinding(String host, int port) { 26 this.host = host; 27 this.port = port; 28 } 29 30 /*** 31 * DOCUMENT ME! 32 * 33 * @return DOCUMENT ME! 34 */ 35 public String getHost() { 36 return host; 37 } 38 39 /*** 40 * DOCUMENT ME! 41 * 42 * @param host DOCUMENT ME! 43 */ 44 public void setHost(String host) { 45 this.host = host; 46 } 47 48 /*** 49 * DOCUMENT ME! 50 * 51 * @param port DOCUMENT ME! 52 */ 53 public void setPort(int port) { 54 this.port = port; 55 } 56 57 /*** 58 * DOCUMENT ME! 59 * 60 * @return DOCUMENT ME! 61 */ 62 public int getPort() { 63 return port; 64 } 65 }

This page was automatically generated by Maven